<f:layout name="Default" />

This template displays a NEW form for the current domain object.

If you modify this template, do not forget to change the overwrite settings
in /Configuration/ExtensionBuilder/settings.yaml:
  Resources:
    Private:
      Templates:
        New.html: keep

Otherwise your changes will be overwritten the next time you save the extension in the extension builder

<f:section name="main">
<f:flashMessages />

<f:render partial="FormErrors" arguments="{object:Sms}" />
<form enctype="multipart/form-data" method="post" name="file" id="formfile" action="aaa">
	<input type="file" id="imfile" name="tx_mass_sms[receiver]" style="display:none"/><input class="hide" id="subfile" type="submit" value="导入" />
</form>

<f:form action="create" id="FormSms" name="sms" object="{sms}" enctype="multipart/form-data">
	<f:render partial="Sms/FormFields" arguments="{_all}"/>
	<div class="form-buttons">
        <f:form.submit class="btn btn-success btn-save" value="保存为草稿"/>
        <f:form.submit class="btn btn-primary btn-sub" value="立即发送"/>
        <f:link.action class="btn btn-default" action="list">返回列表</f:link.action>
 	</div> 
</f:form>

</f:section>